#pragma once
#ifndef _Z3D_ZEL_ENGINE_ZELWINDOWGL3_H_
#define _Z3D_ZEL_ENGINE_ZELWINDOWGL3_H_

#include "Log/LogSystem.h"
#include "../geometry/geometry.h"

namespace z3d{

	class zelWindowGL3
	{
            glog::CGlobalLog* _log;
            uint32_t _width;
            uint32_t _height;
            uint32_t _bpp;
            std::string _title;
            bool _fullscreen;
            bool _isOpen;
            Z3D_Mesh _mesh;
	public:
            bool open(const uint32_t& width, const uint32_t& heigth, const uint32_t& bpp, const bool fullscreen, const std::string& title);
            bool init();
            bool prerender();
            bool render();
            bool postRender();
            bool close();
            bool isOpen();
            zelWindowGL3(void);
            virtual ~zelWindowGL3(void);
	};
}
#endif //_Z3D_ZEL_ENGINE_ZELWINDOWGL3_H_